/** 
 * @date 06/05/2013
 * @author Renet_Pourriau
 * @version 1.0
 */

package adresse;

/**
 * This class represent phone number
 */
public class Telephone {

	private String indicatif;

	private String num;

	/**
	 * this is the constructor of phone number
	 * @param indicatif
	 * @param num
	 */
	public Telephone(String indicatif, String num) {
		this.setIndicatif(indicatif);
		this.setNum(num);
	}

	/**
	 * @return the indicatif
	 */
	public String getIndicatif() {
		return indicatif;
	}

	/**
	 * @param indicatif
	 *            the indicatif to set
	 */
	public void setIndicatif(String indicatif) {
		this.indicatif = indicatif;
	}

	/**
	 * @return the num
	 */
	public String getNum() {
		return num;
	}

	/**
	 * @param num
	 *            the num to set
	 */
	public void setNum(String num) {
		this.num = num;
	}

	/**
	 * @return complet phone number
	 */
	public String getPhone() {
		return this.getIndicatif() + this.getNum();
	}

}